﻿using System;
using System.ComponentModel.DataAnnotations;

namespace BolsaWeb.Dominio
{
    public class Usuario
    {
        public const string POSTULANTE = "POSTULANTE";
        public const string OFERTANTE = "OFERTANTE";
        public Int32 Id { get; set; }
        public String Tipo { get; set; }
        [Required(ErrorMessage = "El correo es obligatorio")]
        public String Correo { get; set; }
        [Required(ErrorMessage = "La clave es obligatoria")]
        public String Clave { get; set; }
    }
}
